<!--视频消息-->
<template>
    <div class="video-msg">
        <video :src="content" controls></video>
    </div>
</template>

<script lang="ts">
import { Vue, Component, Prop } from 'vue-property-decorator'

@Component({})
export default class VideoMsgCom extends Vue {

    // 视频消息的地址
    @Prop({type:String, required:true})
    public content:string|any

}
</script>

<style lang="less" scoped>
.video-msg{
    video{
        width: 100%;
    }
}
</style>